// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import 'element-ui/lib/theme-chalk/index.css';
import ElementUI from 'element-ui'
import $ from 'jquery'
import global_ from './components/global'
import axios from 'axios'
import './assets/js/cookie.js'
require('babel-polyfill')
const Es6Promise = require('es6-promise')

require('es6-promise').polyfill()
Es6Promise.polyfill()

Vue.use(ElementUI);
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
}).$mount('#app');
Vue.prototype.GLOBAL = global_;
Vue.config.productionTip = false;
Vue.prototype.$http = axios;



